# doc CMakeLists.txt

find_package(Doxygen)

if(DOXYGEN_FOUND)
	configure_file(${TrainingBook_SOURCE_DIR}/doc/Doxyfile.cmake ${TrainingBook_BINARY_DIR}/doc/Doxyfile @ONLY)
	add_custom_target (doc ${DOXYGEN_EXECUTABLE} ${TrainingBook_BINARY_DIR}/doc/Doxyfile)
endif(DOXYGEN_FOUND)